import * as network from '@/utils/request';
import { notice } from '../../config/Apis';

export async function getNoticeList(params: any): Promise<any> {
    return network.post(notice.noticeList, {
        data: params,
        requestType: 'form'
    });
}

export async function noticeCreate(params: any): Promise<any> {
    return network.post(notice.noticeCreate, {
        data: params,
        requestType: 'form'
    });
}

export async function noticeDelete(params: any): Promise<any> {
    return network.post(notice.noticeDelete, {
        data: params,
        requestType: 'form'
    });
}